cmake_minimum_required(VERSION 3.15.1)

project(shenmo-water-pipe VERSION 0.0.1)

file(WRITE ${CMAKE_BINARY_DIR}/version "v${PROJECT_VERSION}")

install(PROGRAMS bin/${PROJECT_NAME} 
    DESTINATION /usr/bin/)

##
# [deb] For Linux(with dpkg)
# 注释行(使用方式)
find_package(SparkDebPackage PATHS ${CMAKE_SOURCE_DIR})
add_package_descript(cmake/spark-deb-package.descript)